package cn.tedu.egmybatis5.mapper;

import cn.tedu.egmybatis5.pojo.entity.Customers;
import cn.tedu.egmybatis5.pojo.vo.CustomersVO1;
import cn.tedu.egmybatis5.pojo.vo.CustomersVO2;
import cn.tedu.egmybatis5.pojo.vo.OrderListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomersMapper {
    int insertCustomers(Customers customers);

    CustomersVO1 selectCustomersVO1(String custId);

    List<CustomersVO2> selectCustomersVO2(String city);

    List<OrderListVO> selectOrderListVO(String custId);

    int updateCustomers(Customers customers);
}
